
<table class="list" cellpadding=3 >
	<thead>
		<tr>
				<th width="3%" class="center">#</th>
				<th><?php echo __("ID", $module)?></th>
				<th><?php echo __("Sostenitore", $module)?></th>
				<th><?php echo __("Assistito", $module)?></th>
				<th><?php echo __("Missione", $module)?></th>
				<th><?php echo __("Conto", $module)?></th>
				<th><?php echo __("Protocollo", $module)?></th>
				<th><?php echo __("Data", $module)?></th>
				<th><?php echo __("Importo", $module)?></th>
				<th><?php echo __("Trattenute", $module)?></th>
				<th><?php echo __("Netto", $module)?></th>
				<th colspan="3" class="noprint"><?php echo __("Action", $module)?></th>
		</tr>
	</thead>
	<tbody>
<?php if ($rows) : ?>
<?php $i = $start+1; foreach ($rows as $row): ?>
<?php if ($i % 2 != 0): $rowClass = 'odd'; else: $rowClass = 'even'; endif;?>
		<tr class="<?php echo $rowClass?>">
				<td class="center"><?php echo $i?></td>
				<td><?php echo $row['id'] ?></td>
				<td><?php echo $row['sostenitore'] ?></td>
				<td><?php if($row['assistito']) echo $row['assistito'] ?></td>
				<td><?php echo $row['missione'] ?></td>
				<td><?php echo $row['conto']?></td>
				<td><?php echo $row['protocollo'] ?></td>
				<td><?php echo data($row['data']) ?></td>
				<td align="right"><?php echo format_euro($row['valore']) ?></td>
				<td><?php if($row['trattenuta_txt']) echo $row['trattenuta_txt'] . "%"?></td>
				<td align="right"><?php echo format_euro($row['netto']) ?></td>
		</tr>
<?php $i++; endforeach; ?>
<?php endif; ?>
</tbody>
</table>	
